package a229wuhao.fragmenttest229wh.service;



import java.util.List;


import a229wuhao.fragmenttest229wh.bean.ArticleBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by 吴皓 on 2017/5/17.
 */

public interface ArticleService {
@GET(("api.php/lists/mod/{mod}"))
Call<List<ArticleBean>> getResult(@Path("mod") String mod,
                                  @Query("page") int page,
                                  @Header("SessionID") String sessionID);
}
